#include "loginUi.h"

//
	
loginUi::loginUi( QWidget * parent, Qt::WFlags f) 
	: QDialog(parent, f)
{
	setupUi(this);
	connect(pushButton,SIGNAL(clicked()),this,SLOT(con()));
}

void loginUi::con() {
	win.connectSocket(ln_host->text(),ln_port->text().toInt());
	win.hide();
}
//

